package DataLayer.DB;

import java.util.ArrayList;

import DataLayer.Model.Service;

public interface IFDBService
{
	// get all Services selected by visibility
	public ArrayList<Service> getAllService(boolean synlig);

	// find services by game
	public ArrayList<Service> searchServiceViaModel(String model, boolean synlig);

	// get service by spil
	public ArrayList<Service> searchServiceViaSpil(String spil, boolean synlig);

	// get service by id
	public Service getService(int serviceId);

	// insert service
	public int insertService(Service s) throws Exception;

	// update service
	public int updateService(Service s);

	// delete service
	public int deleteService(int serviceId);
}
